﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Agr.CQRS.Domain.Events;

namespace Agr.CQRS.Infrastructure.Events
{
    public class NewDomainEventsReceivedEventArgs : EventArgs
    {
        public IEnumerable<DomainEvent> Events { get; private set; }

        internal NewDomainEventsReceivedEventArgs(IEnumerable<DomainEvent> events)
        {
            Events = events;
        }
    }
}
